<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="head">
	</ui:define>

	<ui:define name="content">
		<h1>Manage #{monedasmsgs['monedas.title']}s</h1>
		
		<h:form>	
			<p:commandButton image="new" ajax="false" style="margin-right:20px;" value="#{monedasmsgs['navigation.new']}" action="#{MonedasComponent.newMonedas()}"/>
			<p:dataTable id="dta" value="#{MonedasComponent.listMonedass()}"  var="current" rows="15" paginator="true" paginatorPosition="bottom">
				<p:column>
					<h:commandLink includeViewParams="true" action="#{MonedasComponent.selectMonedas(current.co010clca)}" >
						<h:graphicImage value="/images/icons/view.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{MonedasComponent.editMonedas(current.co010clca)}" >
						<h:graphicImage value="/images/icons/edit.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{MonedasComponent.confirmDeleteMonedas(current.co010clca)}" >
						<h:graphicImage value="/images/icons/delete.gif" style="border:0;"/>
					</h:commandLink>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{monedasmsgs['monedas.co010clca.title']}" />
					</f:facet>
							<h:outputText value="#{current.co010clca}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{monedasmsgs['monedas.co010mone.title']}" />
					</f:facet>
							<h:outputText value="#{current.co010mone}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{monedasmsgs['monedas.co010desc.title']}" />
					</f:facet>
							<h:outputText value="#{current.co010desc}"/>
				</p:column>
			</p:dataTable>
		</h:form>
	</ui:define>
</ui:composition>
